; (B) transported or transmitted in or affecting interstate or foreign commerce; or (C) mailed; (2) the visual depiction was produced or transmitted using materials that have been mailed, or shipped or transported in or affecting interstate or foreign commerce by any means, including by computer; (3) such visual depiction has actually been— (A) transported or transmitted using any means or facility of interstate or foreign commerce; (B) transported or transmitted in or affecting interstate or foreign commerce; or (C) mailed; or (4) any part of the offense occurred in a territory or possession of the United States or within the special maritime and territorial jurisdiction of the United States. (g) Notwithstanding any other provision of this section, no criminal charge under subsection (a)(3) may be brought against an electronic communication service provider or remote computing service provider unless such provider has intentionally transmitted or caused to be transmitted a visual depiction with actual knowledge that such depiction is of a minor engaged in sexually explicit conduct, nor may any such criminal charge be brought if barred by the provisions of section 2258B. . 106. Limited liability for certain persons when responding to search warrants or other legal process Section 2258B of title 18, United States Code, is amended— (1) in subsection (a), by inserting from the response to a search warrant or other legal process or before from the performance