If you don’t like it, drop the class. I did, back when my professor wanted me to log in “community service” hours. I had better things to do, like work (for personal profit[gasp!]).
Though I could imagine learning, in some sense of the word, while doing whatever it is volunteers do, I didn’t see what it had to do with liberal education.
Simply remind them that YOU paid THEM for an education and if THYE want YOU to do work to obtain a degree then THEY need to pay YOU for those hours worked.
Just because you’re in a school doesn’t mean that asnine rules and regulations take effect.
You are their boss!