Player and team names in a sport game - what is allowed?

I would like to create a game about F1, and I have an important question. I know that I can’t use the real names of teams (Ferrari, Mercedes, RedBull ) and drivers (Hamilton, Vettel, Bottas ) for legal reasons, so I need to change them. How much should I change them ? If I use for example (Ferrero, Merceding, RedCow ) and for drivers (Hameleon, Vettung, Botton ) will it be okay? Are there any official rules or suggestions about what is allowed and what is forbidden when an indie developer wants to create a sport game and would like to use some team and player names that at least are similar to the real ones?