; and (II) during any forbearance period while serving in a medical or dental internship or residency program as described in section 428(c)(3)(A)(i)(I) or subparagraph (F) of section 460A(b)(1); (7) in repaying under paragraph (6) the outstanding balance of principal and interest due on a loan made under part B to a borrower who meets the requirements of paragraph (6), the Secretary shall— (A) enter into an agreement with the holder of such loan (or, if the holder acts as an eligible lender trustee for the beneficial owner of the loan, the beneficial owner of the loan) for the purpose of assuming the repayment obligations of the borrower in accordance with subparagraph (B), except that the Secretary shall not assign to the United States the right to such loan; (B) assume the obligation of the borrower to repay the holder of such loan (or, if the holder acts as an eligible lender trustee for the beneficial owner of the loan, the beneficial owner of the loan) the total amount of principal and interest remaining to be repaid on such loan (after taking into account the amounts repaid by the borrower pursuant to paragraph (6) and the Secretary under subsection (c), if applicable) according to the terms and conditions, including the repayment schedule, that were in effect with respect to such loan on the day before the Secretary assumes such obligation; and (C) ensure that the holder of such loan (or, if the holder acts as an eligible lender trustee for the beneficial owner of the loan, the beneficial owner of the loan) shall, upon entering into an agreement described in subparagraph (A) with respect to a loan of a borrower, reports to consumer reporting agencies that the borrower’s liability on such loan has been discharged; (8) a borrower who is repaying a loan pursuant to income-driven repayment under paragraph (1) may elect, at any time, to terminate repayment pursuant to such income-driven repayment assistance and repay such loan under the standard repayment plan under section 455(d)(6)(A)(i)