If any personal representative, guardian, curator or committee shall, by his negligence or improper conduct, lose any debt or other money, he shall be charged with the principal of what is so lost and interest thereon in like manner as if he had received such principal. And if any personal representative, guardian, curator or committee shall pay any debt, the recovery of which could be prevented by reason of illegality of consideration, or lapse of time, or otherwise, when he knows, or by the exercise of due diligence could ascertain, the facts by which the same could be so prevented, no credit shall be allowed him therefor.