What exactly needs to be done with legislation? There should be a law to ensure you turn off the notifications on Facebook?
When the private sector consistently refuses to self regulate bad behavior, the law can and should step in.
For example, I have notifications enabled for Amazon because I need to know when a delivery is coming but they’ll use that channel to spam me about “deals”. There’s no reasonable way to disable all these ad-via-notifications.
They certainly don’t want you to disable deal notifications and make it very difficult to do so.
It’s like the old quote about fire extinguishers: if you don’t know where one is, it doesn’t exist. If a reasonable effort cannot find the setting, it doesn’t exist.