; and (B) whom the Secretary concerned determines is trained in the investigation of sexual harassment. (3) The term sexual harassment has the meaning given that term in section 920d(b) of this title (article 120d of the Uniform Code of Military Justice). . (2) Clerical amendment The table of sections at the beginning of chapter 80 of title 10, United States Code, is amended by striking the item relating to section 1561 and inserting the following new item: 1561. Complaints of sexual harassment: independent investigation. . (3) Effective date The amendment to section 1561 of such title made by this subsection shall— (A) take effect on the day that is two years after the date of the enactment of this Act; and (B) apply to any investigation of a formal complaint of sexual harassment (as those terms are defined in such section, as amended) made on or after that date. (4) Report on implementation Not later than nine months after the date of the enactment of this Act, each Secretary of a military department shall submit to Congress a report on preparation of that Secretary to implement the amendment to section 1561 of such title made by this subsection. 4. Confidential reporting of sexual harassment (a) Establishment Chapter 80 of title 10, United States Code, is amended by inserting after section 1561a the following new section: 1561b. Confidential reporting of sexual harassment (a) Establishment Notwithstanding section 1561 of this title, the Secretary of Defense shall prescribe regulations establishing a process by which a member of an armed force under the jurisdiction of the Secretary of a military department may confidentially allege a complaint of sexual harassment to an individual outside the immediate chain of command of that member. (b) Receipt of complaint An individual designated to receive complaints under subsection (a)— (1) shall maintain the confidentiality of the member alleging the complaint