Why do you assume good intentions? It's more likely that this law was the result of campaign bribes from unions.
Unions want to have fewer (unionized) people employed at higher compensation. Gig workers go against that because there is higher employment at lower compensation.
Unions want to have fewer (unionized) people employed at higher compensation. Gig workers go against that because there is higher employment at lower compensation.