Assuming you have kept records of payments that prove you are up to date, and have the original paperwork when you took out your mortgage, you should be proof against any judgement.
Now if you didn’t uphold your end of the deal, and missed some payments, you could be in trouble.
Just because you paid “someone” is not proof of paying. If the note holder did not credit payment you will be foreclosed. Not a judge to help you. The “note” is a bearer instrument well defined in law. Showing cancelled checks to wrong party is no defense.