Er.... this has nothing to do with building codes. It's wildfires. I doubt that even a brick structure would survive one.
As for new, or upgraded building codes, they only apply to new construction. If they had changed them, we'd still be seeing the same results.