In the course of or in connection with any proceeding under this section or in connection with any claim for insured deposits or any examination or investigation under section
1784
(b) of this title, the Board, in conducting the proceeding, examination, or investigation or considering the claim for insured deposits,, or any designated representative thereof, including any person designated to conduct any hearing under this section, shall have the power to administer oaths and affirmations, to take or cause to be taken depositions, and to issue, revoke, quash, or modify subpenas and subpenas duces tecum, and the Board is empowered to make rules and regulations with respect to any such proceedings, claims, examinations, or investigations. The attendance of witnesses and the production of documents provided for in this subsection may be required from any place in any State or in any territory or other place subject to the jurisdiction of the United States at any designated place where such proceeding is being conducted. Any party to proceedings under this section may apply to the United States District Court for the District of Columbia, or the United States district court for the judicial district or the United States court in any territory in which such proceeding is being conducted, or where the witness resides or carries on business, for enforcement of any subpena or subpena duces tecum issued pursuant to this subsection, and such courts shall have jurisdiction and power to order and require compliance therewith. Witnesses subpenaed under this section shall be paid the same fees and mileage that are paid witnesses in the district courts of the United States. Any court having jurisdiction of any proceedings instituted under this section by an insured credit union or a director, officer, or committee member thereof may allow to any such party such reasonable expenses and attorneys’ fees as it deems just and proper, and such expenses and fees shall be paid by the credit union or from its assets.