(2) in section 2258B—
(A) by striking subsection (a) and inserting the following:
(1) Limited liability Except as provided in subsection (b), a civil claim or criminal charge described in paragraph (2) may not be brought in any Federal or State court.
(2) Covered claims and charges A civil claim or criminal charge referred to in paragraph (1) is a civil claim or criminal charge against a provider or domain name registrar, including any director, officer, employee, or agent of such provider or domain name registrar, that is directly attributable to—
(A) the performance of the reporting or preservation responsibilities of such provider or domain name registrar under this section, section 2258A, or section 2258C;
(B) transmitting, distributing, or mailing child pornography to any Federal, State, or local law enforcement agency, or giving such agency access to child pornography, in response to a search warrant, court order, or other legal process issued or obtained by such agency; or
(C) the use by the provider or domain name registrar of any material being preserved under section 2258A(h) by such provider or registrar for research and the development and training of tools, undertaken voluntarily and in good faith for the sole and exclusive purpose of—
(i) improving or facilitating reporting under this section, section 2258A, or section 2258C; or
(ii) stopping the online sexual exploitation of children.
(a) In general
; and
(B) in subsection (b)—
(i) in paragraph (1), by striking ; or and inserting or knowingly failed to comply with a requirement under section 2258A;;
(ii) in paragraph (2)(C)—
(I) by striking sections and inserting this section or section; and
(II) by striking the period and inserting ; or; and
(iii) by adding at the end the following:
(3) for purposes of subsection (a)(2)(C), knowingly distributed or transmitted the material, or made the material available, except as required by law, to—
(A) any other entity;
(B) any person not employed by the provider or domain name registrar; or
(C) any person employed by the provider or domain name registrar who is not conducting any research described in that subsection.;