The Supreme Court would only be allowed to review cases that are decided after the bill becomes law. The House passed the measure last month, meaning it now head to the president's desk for his signature.

The Senate also passed a bill amending the law on the United States Court of Appeals for Veterans Claims. 

Sen. Richard BurrRichard BurrTop Senate Dem: ‘Grave concerns’ about independence of Russia probe Trump's pick for intel chief to get hearing next week A guide to the committees: Senate MORE (R-N.C.) introduced S. 2045, which would require active judges on the U.S. Court of Appeals for Veterans Claims (CAVC) to live within 50 miles of the District of Columbia, which is where the CAVC’s principal office must be located.

The amendment also allows the president to remove judges violating that residency requirement who were confirmed on or after 2012.