If you have to request the source code by asking for it via a form and get sent the code printed out via snail mail that is still "publicly accessible". Not saying companies would do that since it seems like it'd just cost them money for no benefit, just that there are usually ways to really hinder people's access without being closed source.
There could be lines drawn, but it'll be hard to find the medium between reasonable and preventing exploits. Forcing an upload to third party services like github seems dubious. I guess a zip file somewhere on the company website wouldn't be hard to do, provided the company isn't bankrupt (which is an entire different can of worms, what do you do then).
I'd still be heavily in favor of such legislations fwiw, perfect is the enemy of good and all that, but there's a sweet spot of "actually does something and doesn't kill all live service games" that would need to be found
And american voters also didn't get to do anything about the palestinian genocide because there were two choices and pretending there were more is delusional at best. And the choice was between a party unwilling to take a strong stance against it vs a party actively encouraging it and saying they'd help. While also openly wanting to genocide minority groups in their own country.
Well, there is a third choice. It's the centrist choice of either not voting or voting for an irrelevant party, equivalent to saying "let the others decide".