Lou Reed wrote a song about undergoing electroshock therapy because his parents thought he was gay. It was called “Kill Your Sons.”
He wrote “Candy Says” about Candy Darling, one of the Warhol Factory’s out trans women. (There were quite a few trans women involved in Warhol’s stuff, including – Ms. Darling, Holly Woodlawn, Jackie Curtis & Jayne County.)
He wrote “Walk on the Wild Side” which inspired a ton of trans people to say “Wait, what? That’s possible?” when it came to gender transformation.
Then of course there’s “Venus in Furs”, too, which is a whole other thing altogether, but certainly of interest to a certain subset of y’all.