if it's bad for society then regulate the Social Media companies rather than shifting the burden on the citizenry through ID laws and backdooring increased surveillance under the guise of "muh chillren!"
The ID laws only apply to social media though. You don't need to give your ID if you don't use those websites. Of course it's also possible that this is just a trojan for other sites asking for ID, but hopefully people see the difference enough that extending this law there wouldn't be popular.
Genuine question, how is it different than tobacco, driving, alcohol, all the things we gate by age for what seem to be valid reasons?