Modesto adopted the mask ordinance in 2019 at the request of the Police Department ahead of a planned straight-pride rally.