Student Loan Forgiveness

Indications are my 22 year old daughter will be ineligible for $10,000  loan forgiveness  only because I claimed her in 2021 as a dependent for the $500 "other dependents" credit.  If this is the case should I file an amended return to remove her as a dependent then repay the $500 so she can claim the $10,000?   (Probably should wait for details first though.