More death certificates listed illicit heroin as a contributing cause of death in 2016 than common prescribed opioid painkillers such as oxycodone.