; or (2) the provider— (A) exercised a reasonable, good faith effort to disable access to or remove the child pornography but was unable to do so for reasons outside the provider’s control; and (B) determined it is technologically impossible for the provider to disable access to or remove the child pornography without compromising encryption technologies. (i) Sanctions for repeated bad faith civil actions (1) In general In the case of a civil action brought under subsection (a), the court may impose sanctions on— (A) the party bringing the civil action if the court finds that the party has brought 2 or more bad faith civil actions (which may include the instant civil action); or (B) an attorney or law firm representing the party bringing the civil action if the court finds that the attorney or law firm has represented— (i) a party who has brought 2 or more bad faith civil actions (which may include the instant civil action); or (ii) 2 or more parties who have each brought a bad faith civil action (which may include the instant civil action). (2) Definition of bad faith civil action For purposes of paragraph (1), the term bad faith civil action means a civil action brought under subsection (a) in bad faith where the finder of fact determined that at the time the civil action was filed, the party, attorney, or law firm described in paragraph (1) had actual knowledge that the alleged conduct— (A) did not involve any minor