a loan under this part, in an amount equal to the sum of the unpaid principal, accrued unpaid interest, and late charges of the original loan to the borrower in accordance with the following: (A) The Secretary shall pay the proceeds of such loan to the eligible lender of the loan made, insured, or guaranteed under part B, in order to discharge the borrower from any remaining obligation to the lender with respect to the original loan. (B) A loan made under this section that was— (i) a loan originally made, insured, or guaranteed under section 428 shall be a Federal Direct Stafford Loan