It's a mild concern, but if you need enough ozone to cause meaningful damage then the smoke has probably ruined the car anyway. The key is to run it just barely long enough.
In my case the smell came from running over a rotten deer carcass. I settled on about a dozen trips through an undercarriage carwash them leaving the windows all open for a month. I figured the smell would go away eventually so I wasn't eager to risk long term damage from ozone, but my god was the smell awful for the first week.