A "common mistake" is when a contract is predicated on a belief that both parties shared without which they would not have entered into the contract and wherein the incorrect belief is not due to significantly greater fault on the part of either party. In essence, the parties made an argument that is about something that does not exist. In that case, it may impossible or inequitable to enforce the contract as agreed.
Great. Except none of that applies. Which is why i've made the remark i've made.
THERE IS NO common mistake here. The contract was simple.
A lends X to B
B is obliged to return X+interest to A
That. Is. All.
Everything preceding that has no bearing on that contract. Can you understand that?