; or (BB) section 3505 of title 18; or (bb) testimony regarding the production of such records; and (II) punish any failure to obey an order issued under subclause (I) as contempt of court. (iii) Service of process All process in a case under this subparagraph shall be served on the foreign bank in the same manner as described in subparagraph (A)(iii). (E) Termination of correspondent relationship (i) Termination upon receipt of notice A covered financial institution shall terminate any correspondent relationship with a foreign bank not later than 10 business days after the date on which the covered financial institution receives written notice from the Secretary of the Treasury or the Attorney General if, after consultation with the other, the Secretary of the Treasury or Attorney General, as applicable, determines that the foreign bank has failed— (I) to comply with a subpoena issued under subparagraph (A)(i); or (II) to prevail in proceedings before— (aa) the appropriate district court of the United States after challenging such a subpoena under subparagraph (A)(iv)(I)