This website contains age-restricted materials including nudity and explicit depictions of sexual activity.
By entering, you affirm that you are at least 18 years of age or the age of majority in the jurisdiction you are accessing the website from and you consent to viewing sexually explicit content.
Not exactly the same problem. In the same way that gun control doesn’t address the problem of hostile foreign militaries. Yes, both involve guns, but the laws and policies that address one are inapplicable and inappropriate to the other.
The law in question addresses the problem of foreign adversaries having easy access to manipulate US public opinion. The law you suggest addresses the problem of advertisers having that access. Both are serious concerns, both need to be addressed, but they are not the same problem and the solutions are markedly different.