The measure would bar networks like YouTube, TikTok and Instagram from giving accounts to children under 16.