Well you don’t want to lose Monero and you don’t want to lose fiat, but you can’t have both. XMR isn’t a stablecoin.
If it matters more to you that you get your XMR back, then require XMR payments. You need to include the XMR volatility as part of the interest rate calculation.
If it matters more that you get your fiat back, then require fiat-equivalent in XMR payments.
Or, demand you get either XMR or fiat back, whichever is higher. But I don’t think a borrower would like this. Tesla did this when they let you pay in BTC; Tesla reserved the right to refund you in whichever currency was cheaper. For the consumer, it a bad deal.
Then you need it factored into the interest rate you decide upon that volatility may cause the price of XMR to get so high that your debtor would rather default than pay the debt.