(a) It shall be an affirmative defense for a person charged with an offense for possession or use of an illegal smoking product that the use or possession was pursuant to the direction or prescription of a licensed physician or dentist authorized to direct or prescribe such act. (b) It shall be a primary affirmative defense that the sale or possession by a person of Salvinorin A was in conjunction with ornamental landscaping and used solely for that purpose.