A loan amount for a loan made under section
1078–3 of this title may be a qualified loan amount for the purposes of this subsection only to the extent that such loan amount was used to repay a Federal Direct Stafford Loan, a Federal Direct Unsubsidized Stafford Loan, or a loan made under section
1078 or
1078–8 of this title for a borrower who meets the requirements of subsection (b) of this section, as determined in accordance with regulations prescribed by the Secretary.