This has nothing to do with you, because the insurance company is targeting cars, not people. It doesn't matter as long as your friend's car name is not your name.
Further reading: How to buy insurance, which is good, and teach you how to avoid these "pits" of insurance.