The Judges, both of the supreme and inferior Courts, shall hold their Offices during good Behaviour, and shall, at stated Times, receive for their Services, a Compensation, which shall not be diminished during their Continuance in Office.
A bill won't do it. It needs a Constitutional Amendment.
Any changes like this only would only apply to judges admitted after the adoption of the new amendment.