New York law requires social media platforms to display warning labels about potential harm to young users' mental health.