; (ii) any charge in a criminal prosecution brought against a provider of an interactive computer service under State law if the conduct underlying the charge would constitute a violation of section 2252 or section 2252A of title 18, United States Code; or (iii) any claim in a civil action brought against a provider of an interactive computer service under State law if the conduct underlying the claim— (I) would constitute a violation of section 2252 or section 2252A of title 18, United States Code; or (II) would be considered a violation of section 2252 or section 2252A of title 18, United States Code, for purposes of subsection (a)(1) of section 2255 of that title, by operation of subsection (a)(2) of such section 2255. (B) Safe harbor Subparagraph (A) shall not apply to a claim in a civil action or charge in a State criminal prosecution brought against a provider of an interactive computer service if— (i) an officer of the provider has elected to certify to the Attorney General under section 4(d) of the Eliminating Abusive and Rampant Neglect of Interactive Technologies Act of 2020 that the provider has implemented, and is in compliance with, the child sexual exploitation prevention best practices contained in a law enacted under the expedited procedures under section 4(c) of such Act and such certification was in force at the time of any alleged acts or omissions that are the subject of a claim in a civil action or charge in a State criminal prosecution brought against such provider