rusty old steel...

As mentioned by others, if you bleed you have no risk of contracting clostridium tetani, which is the bacteria that causes tetanus. It comes from animal manure, so if your car wasn't pulled out of some old farmers field recently, there is nothing to worry about.

The old "step on a rusty nail" thinking is a myth.

And here's what they won't tell you, getting a tetanus shot AFTER you are in contact with the bacteria does nothing. It will protect you from a future accident, but not the puncture you are dealing with in that moment.
.
Tell my foot it is a myth.
7 days in the hospital saving my foot.
Stepped on a screen door screen wood strip with a rusty little nail in it.
Lifted my foot an the wood strip lifted with it. It bleed a little. My wife cleaned it with peroxide. Next day went to the emergency room, MRI showed what looked like a small ball inside my foot. Doctor cut it open and drained it. Me being diabetic they kept me in there and kept a close eye on it so I wouldn't lose my foot. IV with lots of antibiotics.