; and (B) by adding at the end the following: (2) The provisions of subchapter V of chapter 63 of title 5 shall apply to a bankruptcy judge as if the bankruptcy judge were an employee (within the meaning of subparagraph (A) of section 6381(1) of such title). . (2) Magistrate judges Section 631(k) of title 28, United States Code, is amended— (A) by striking A United States magistrate judge and inserting (1) Except as provided in paragraph (2), a United States magistrate judge ; and (B) by adding at the end the following: (2) The provisions of subchapter V of chapter 63 of title 5 shall apply to a United States magistrate judge as if the United States magistrate judge were an employee (within the meaning of subparagraph (A) of section 6381(1) of such title). . (f) Technical corrections (1) Section 7605 of the National Defense Authorization Act for Fiscal Year 2020 is amended by striking on active duty each place it appears and inserting on covered active duty . (2) Subparagraph (E) of section 6382(d)(2) of title 5, United States Code, as added by section 7602 of the National Defense Authorization Act for Fiscal Year 2020, is amended by striking the requirement to complete and all that follows and inserting the service requirement under subparagraph (B) of section 6381(1). . (g) Effective date The amendments made by this section shall take effect as if enacted immediately after the enactment of the National Defense Authorization Act for Fiscal Year 2020.