The legislative push comes amid an intensifying debate over children's online safety, social media addiction and digital privacy.