@catsalad what's bananas to me is there's a way to do this totally legally. Make it incentive-based instead of punitive.
Create some criteria to certify an operating system as California Family-Friendly. Say the state will only buy such operating systems.
Apple, Microsoft, and Google would absolutely do it and get certified. But the open source stuff could continue not giving a shit.
Not the most ideal - still a privacy issue but at least it's not mandated, we'd have a choice to opt out.