. "For purposes of this chapter, a known unlawful drug user, possessor, or seller is a person who has, within the knowledge of the arresting officer, been convicted in any court within this state of any violation involving the use, possession, or sale of any of the substances referred to in the Criminal Code of the State of Alabama as controlled substances or such person has been convicted of any d" . . . .