I mean most laws in the general rather than specific context. To be more obvious, I'm pointing out that just because the Supreme Court hasn't offered an opinion that that doesn't delegitimize the law. As otherwise there'd be thousands? of laws in a similar boat.
For further comparison revenge porn laws also have a similar potential for a first amendment defense but thus far have weathered challenges.