Fortunately, the Internet consists of more than antisocial media, gambling, and porn sites. Many (most? all?) of the social media laws also focus on specific user-hostile functionality too, which these companies could always not do. Or they could have a little toggle switch in the user settings to enable dark patterns, surveillance, and targeted ads, and only require ID to turn the switch on.