Your question should have a simple answer, but even with the current laws to protect you against this happening, the answer is not simple.
Your first step would be to ask the company that told you that there are two other loans against your property to supply you with the names, addresses and phone numbers of the lenders reporting these loans. You can try calling them and requesting a letter that you do not owe them money because the loan was sold. This may help youto get the loan for your emergency , but unless they report it to the credit bureau, and unless an assignment or reconveyance has been recorded, it will be a problem in the future. Make sure you follow-up with a written request asking them for a certified copy of the recorded assignment or reconveyance of the loan in question.