The consequences for trampling someone else’s copyright are not that dire. Since you’re a student, and probably broke, it’s not like 20th Century Fox is going to sue you for your life’s savings.
Rights and Copyright
A character sings a song
Hope you have to worry about these problems when the movie gets made. Until then, don’t.
Copyright and changes
How much needs to change to make re-registering your script worthwhile?
Worried about copyrights
This is America. If you want your characters to say that TOWN AND COUNTRY was a boring, unfunny disaster, they can.