I'd like to make a WordPress site that provides teaching materials (primarily video lessons) for teachers to use with their students.
The idea is for the teacher to pay a membership fee, but be able to send their students links to the lessons that will be accessible for them to use at home without requiring a membership.
Are there any plugins that would allow a teacher to send private links to the materials, and then have those links expire if the teacher cancels their membership? I'm guessing that's probably a niche enough scenario that I'd probably just need to hire a developer to make it work, but was hoping maybe there's some option that I could manage to pull of myself.
Only other solution I've been able to come up with is putting the lesson materials on a separate, password protected site. Then I could provide the password to the materials site in the members area of the main site, and I guess just change the password at regular intervals. Was hoping to find a better solution than that, though.
If anyone has any suggestions on how to make either of those ideas work, or if anyone has a better idea, I'd be grateful.

Hire a web developer.