Congress wants to pass a law requiring that SCOTUS adopt a code of conduct. I don’t think this is Constitutional. Any rules for SCOTUS would be in Article III of the Constitution, and there is nothing there granting Congress authority over the Supreme Court. If they want to do this, an Amendment would be required.
It will be interesting to see how SCOTUS reacts to this. The left wants badly to bring this court to heel, or even impeach a justice or two.