I've got a sorta similar problem, the little plastic handle part you put a keyring through for my electronic key for my car has broken, so I can't attach it to my keyring

Any suggestions how I can fix it?