It would be good to look more into how airbags are built and how they work.
https://en.wikipedia.org/wiki/Airbag
Airbags are not airtight. They are designed to inflate very quickly, and deflate soon after, with holes, or plugs that will let the gas out pretty quickly. They aren't useful for a second impact a few seconds after an initial one. The quick deflation (or vents) provides some 'softening' of the impact from a passenger to the bag, and the bag gets out of the way for accessibility and visibility quickly for the benefit of the driver and rescuer after impact.
If they were airtight, they would still shrink a good bit due to cooling, but not as quickly as the vents let it happen.
Sodium Azide is an acutely toxic explosive. I suspect there are a great deal of trade secrets in 1) the methods of distributing gas in an inflating airbag, and 2) folding/storing procedures so it unfolds rather than destroys itself during deployment.
For this, (as
@jrmichler already said) CO2 inflation would be a cheaper, safer option and would be far easier to engineer, since extreme rapid inflation is not as necessary.