It's really not a similar situation. Refusing to social distance is illegal as it puts other people's lives in danger but working for a dirty restaurant is not and is not analogous this is in any way.
There have been countless discussions already about at risk groups and potential spread to them, QALY's, etc. What I want to get at is "social distancing" is arbitrary (6 feet?) and should not be forced. (I am unsure of your statement "Refusing to social distance is illegal...")
There do exist concrete studies on what distance makes sense; see for example https://medium.com/@jurgenthoelen/belgian-dutch-study-why-in...
But the state is willing to make some exceptions, making it legal for this.