It was not enforced at all where I live. We had a mask mandate in our county for less than a week this summer. Businesses chose what measures to take and they were all over the place. Thankfully it's a pretty well-to-do county. Only 2 counties in my state had any kind of regulation and there were no mandated business closures to my knowledge in either.
No, these were enforced by the police and courts in most places (certainly where I live.) Lots of people didn't/don't have work.