Read the legislation. Ask yourself if it's better for a country's government or a foreign set of social media companies to control what young people see. One has a profit motive above all else. One can be at least voted for or against.
If you think X domestic legislation doesn't come with its own baggage of profit motives, hidden agendas and attempts at controlling narratives for young people, you're in for a rude awakening if you dig a bit deeper.
That aside, i'd rather parents being the ones who decide what minors see instead of some hackneyed government censorship program rammed through by a plethora of boogeymen and possibly (very likely) later used to track and censor adult access to information choices.
Laws like these and their supporters can both fuck off. It's the same old story from going back centuries, nationalist, religious or generally moralizing bullshit about the supposed dangers of some nefarious influence being used to restrict what I decide to read, watch or think about.