Ok, but you're just talking about a completely different law. How is that comparable to what's being proposed?
Edit: rereading the article, they want to ban "psychologically exploitative features intended to maximize engagement that foreseeably lead to compulsive use." It seems like it's pretty straightforward to apply that logic to your hypotheticals.