information provided for making a refund in connection with such return, and (iii) in the case of any cybersecurity threat to the Internal Revenue Service, information similar to the information described in subclauses (I) and (II) of clause (i) with respect to such threat. (D) Restriction on use of disclosed information (i) Designated third parties Any return information received by a person described in subparagraph (B)(i)(I) shall be used only for the purposes of and to the extent necessary in— (I) performing the function such person is designated to perform under such subparagraph, (II) facilitating disclosures authorized under subparagraph (A) to persons described in subparagraph (B)(i)(II), and (III) facilitating disclosures authorized under subsection (d) to participants in such information sharing and analysis center. (ii) Return preparers Any return information received by a person described in subparagraph (B)(i)(II) shall be treated for purposes of section 7216 as information furnished to such person for, or in connection with, the preparation of a return of the tax imposed under chapter 1. (E) Data protection and safeguards Return information disclosed under this paragraph shall be subject to such protections and safeguards as the Secretary may require in regulations or other guidance or in the written agreement referred to in subparagraph (B)(ii). Such written agreement shall include a requirement that any unauthorized access to information disclosed under this paragraph, and any breach of any system in which such information is held, be reported to the Treasury Inspector General for Tax Administration. . (2) Application of civil and criminal penalties (A) Section 6103(a)(3) is amended by striking subsection (k)(10) and inserting paragraph (10) or (13) of subsection (k) . (B) Section 7213(a)(2) is amended by inserting or (13) after (k)(10) . 18104. Compliance by contractors with confidentiality safeguards (a) In General Section 6103(p) is amended by adding at the end the following new paragraph: (9)