(1) The Supreme Court has no role in whether legislation passes.
(2) “A member of Congress, as sole sponsor with no cosponsors, introduces a bill” isn't evidence that Congress, as a whole, thinks anything positive about the subject matter, political prospects, or, were it to pass, post-adoption legal prospects of the bill.
It's discussed a bit here: https://theconstitutionalist.org/2021/01/27/from-insincere-v...
On a more credulous note, it may also be valuable from a deliberative perspective to have these discussions in the body even if they don't result in change in the short term. That's undermined by the fact that the chamber is often pretty empty during debate, and that members of congress (and their staffs) can talk outside of the chamber, but it may still have an element of truth to it.
If the courts strike it down later, they'll cross that bridge when they come to it.
I think most of the Democrats at this point have come around to the "nothing's gonna happen, stop spending political capital on it" approach by now. This legislation is by one of the... quirkier members of Congress, with no cosponsors.
Although that is the only way I can see something like this passing.