I think he should tell his friend's family that he has used his phone number to borrow money from online loans so that his family can find a way to cure his gambling addiction.
I'm just worried that he will be asked to pay the online loan bill, especially if he has no relationship with his friend.
Maybe his friend really should be put in a rehab center to cure his gambling addiction.
and maybe if his family already knows about his addictive activities to the extent that it involves online loans he will immediately be rehabilitated to a psychology specialist and that must be done because if not he will just become an addict again and borrow money again because it is very easy to access online loans to be able to get money easily and used to vent his addiction.