It may and may not be a student loan. However, you will not know this by what the collection agency said, as one cannot believe anything they are told by a collection agency. You will have to look at the loan documents to determine if this was a student loan, and whether or not it was federally-guaranteed.
If it was a student loan, it was not dischargeable in your daughter's Bankruptcy. However, even if it was a student loan, the collection agency can not legally collect it after 4 years - because of the Statute of Limitations (SOL) - if and only if the loan was not federally-guaranteed.
If the loan was federally-guaranteed, it can be collected forever, as there is no SOL for federally-guaranteed student loans. 20 USC 1091a(a)(1).
If the loan was not a student loan, and it was listed on the Bankruptcy as a student loan, the above still applies, so it is unlikely that there would be a successful malpractice claim against the attorney.
I think this is what you wanted to know. If not, please let me know.