I doubt that AB5 was itself the target of much particular care.
Prop 22 is viable this year because of the COVID-19 pandemic and the dire straits so many are in. It's supported by those who need any source of income they can lay claim to, no matter its quality, and by those who know someone like that, and so on. In a year (or a society) in which fewer people were so desperate, I would very much like to believe that this perverted lawbuying would be shot down by a wide margin.