This will end up with the death of anonymity on the internet.
Signal will require an ID. Hacker News will require an ID. Reddit will require an ID. Stack Overflow will require an ID. 4chan will be illegal to operate. Your google account may eventually require an ID
This is a really slippery slope. Maybe I am overly paranoid, but this seems like really dangerous legislation.
I agree that social media is pretty harmful in its current instantiation, but lets start with banning phones at school rather than removing anonymity for every site that "could harm kids".