I'll copy what I said in another comment:
> At what point in the ruling did they wonder what motivated the effective ban? "5 why's" it, so to speak. Did they ever say, "because X, Y, and Z, it is clear the intent of the law is not to prevent speech of certain parties"?
part D. "The record before us adequately supports the conclusion that Congress would have passed the challenged provisions based on the data collection justification alone"