Lawmakers pass bill to require social media platforms to introduce age-verification tools and control mechanisms.