Where any person specified in section
1701
(a) of this title, or the dependent, beneficiary, or allottee of such person, receives or claims wages, payments in lieu of wages, insurance benefits for disability or loss of life (other than workmen’s compensation benefits), and the cost of such wages, payments, or benefits is provided in whole or in part by the United States, the amount of such wages, payments, or benefits shall be credited, in such manner as the Secretary shall determine, against any payments to which any such person is entitled under this subchapter.
Where any person specified in section
1701
(a) of this title, or any dependent, beneficiary, or allottee of such person, or the legal representative or estate of any such entities, after having obtained benefits under this subchapter, seeks through any proceeding, claim, or otherwise, brought or maintained against the employer, the United States, or other person, to recover wages, payments in lieu of wages, or any sum claimed as for services rendered, or for failure to furnish transportation, or for liquidated or unliquidated damages under the employment contract, or any other benefit, and the right in respect thereto is alleged to have accrued during or as to any period of time in respect of which payments under this subchapter in such case have been made, and in like cases where a recovery is made or allowed, the Secretary shall have the right of intervention and a lien and right of recovery to the extent of any payments paid and payable under this subchapter in such case, provided the cost of such wages, payments in lieu of wages, or other such right, may be directly or indirectly paid by the United States; and any amounts recovered under this subsection shall be covered into the fund established under section
8147 of title
5.