Notwithstanding any other law, a governmental entity may not adopt or enforce an ordinance, order, rule, or other measure that requires the installation of a fire protection sprinkler system in:
(1) an agricultural pole barn;
(2) a nonresidential farm building;
(3) a cotton gin;
(4) a cottonseed storage building;
(5) a grain storage facility;
(6) a livestock market; or
(7) a commercial feed mill.