Complex sentence: Deviations from that original plan should be made known to the AHJ to make sure that the change is still in compliance with the law to prevent any unsafe conditions that may violate the law and put people at risk.
Split into simpler sentences: Deviations from that original plan, should be made known to the AHJ to make sure that the change is still in compliance with the law. The idea behind this is to catch and prevent any unsafe conditions that may violate the law and put people at risk.