Except as provided in subsection (b), if a United States financial institution has or obtains knowledge that a correspondent account established, maintained, administered, or managed by that institution for a foreign financial institution is being used by the foreign financial institution to provide significant financial services indirectly to any person, foreign government, or financial institution designated under section 9214 of this title, the United States financial institution shall ensure that such correspondent account is no longer used to provide such services.
A United States financial institution is authorized to process transfers of funds to or from North Korea, or for the direct or indirect benefit of any person, foreign government, or financial institution that is designated under section 9214 of this title, only if the transfer-
(1) arises from, and is ordinarily incident and necessary to give effect to, an underlying transaction that has been authorized by a specific or general license issued by the Secretary of the Treasury; and
(2) does not involve debiting or crediting a North Korean account.
In this section:
The term "correspondent account" has the meaning given that term in section 5318A of title 31.
The term "United States financial institution" means 1 has the meaning given that term in section 510.310 of title 31, Code of Federal Regulations, as in effect on August 2, 2017.
The term "foreign financial institution" has the meaning given that term in section 1010.605 of title 31, Code of Federal Regulations, as in effect on August 2, 2017.
(