Sing it in Latin, and the problem, if there is a problem, doesn't arise.
But using words like "sanitize" in this kind of context is not really appropriate. There is nothing "dirty" in using a word like Man in a setting where it clearly does not mean male human being, but refers to all human beings.
There are times when it makes sense to change the words you sing, when you are siging a song as a song, rather than as a historical document.
For example, if you are singing Swanee river, it becomes a better and more accessible song in my view, if you sing "people" or something like that instead of "darkies". And there are other times when that it appropriate.
For example at a funeral service for a woman, it moighht be a greta thing to sing "She who would valiant be" instead of "He" - not sanitizing or anything like that, but making it more applicable and meaningful.
But you do it when it is appropriate, and not when it isn't, and you use your intelligence and your experience of life to decide when it's needed and when it isn't. If you go round with a little checklist of things that might need changing in some contexts, and then use this as a kind of blanket blacklist, that's just making the whole idea of sensitivity in the use of language appear ridiculous.
And of course there is somethinmg totally ridiculous in the idea of anyone claiming to be in favour of using language more sensitively, but doing so in an insensitive manner.