I know it from stage coach/ mail coach bit of American/Australian history, where outlaws/bush rangers robbed at will. A passenger sat up the front with the driver person to act as guard - often with a shotgun. 'Riding shotgun'. Now used to mean up the front- or first. I have not seen it used in these threads in relation to addictive use.