((a)) For the purpose of this section, “agency” has the meaning given it by .
((b)) A witness is entitled to the fees and allowances allowed by statute for witnesses in the courts of the United States when—
((1)) he is subpenaed under ; or
((2)) he is subpenaed to and appears at a hearing before an agency authorized by law to hold hearings and subpena witnesses to attend the hearings.