Here are the parts of the main statute on carrying firearms. I don't know where the red part of the OP comes from:
39-17-1307. Unlawful carrying or possession of a weapon.
a)(1) A person commits an offense who carries, with the intent to go armed, a firearm or a club.
....
(e)(1) It is an exception to the application of subsection (a) that a person is carrying or possessing a firearm, loaded firearm, or firearm ammunition in a motor vehicle or boat if the person:
(A) Is not prohibited from possessing or receiving a firearm by 18 U.S.C. § 922(g) or purchasing a firearm by § 39-17-1316; and
(B) Is in lawful possession of the motor vehicle or boat.
....
(g) It is an exception to the application of subsection (a) that a person is carrying, whether openly or concealed, a handgun and:
(1)
(A) The person is at least twenty-one (21) years of age; or
(B) The person is at least eighteen (18) years of age and:
(i) Is an honorably discharged or retired veteran of the United States armed forces;
(ii) Is an honorably discharged member of the army national guard, the army reserve, the navy reserve, the marine corps reserve, the air national guard, the air force reserve, or the coast guard reserve, who has successfully completed a basic training program; or
(iii) Is a member of the United States armed forces on active duty status or is a current member of the army national guard, the army reserve, the navy reserve, the marine corps reserve, the air national guard, the air force reserve, or the coast guard reserve, who has successfully completed a basic training program;
(2) The person lawfully possesses the handgun; and
(3) The person is in a place where the person is lawfully present.