Governor explicitly prohibited mandating wearing masks. He did not prohibit mandating dress code.
I think if you say "we won't fund you if you mandate masks," the mechanism for mandating them probably isn't very relevant. Mandating masks via dress code policy is still mandating masks.