Your investments are protected by securitized collaterals that back each loan. These collaterals are in turn protected by the specific regulations on each jurisdiction and the enforcement of such regulations towards the liquidation of the collateral to recoup the amount lent.