Bankruptcy Law Questions? Ask a Bankruptcy Lawyer.
If the landlord is going to turn over the property to the lender, your daughter will have to contact it about continuing the rental agreement with the lender/new owner. Also, her deposit should be turned over to the lender/new owner as well. This money is not part of the person's bankruptcy because it is not her money - it's your daughter's.
Bear in mind that the lender/new owner does not have to assume the contract and can make your daughter vacate the property. The contract is cancelled by the landlord's filing of bankruptcy. Even if this occurs, she should be able to recover her deposit less any expenses for reasonable repair.