Hydrocodone and oxycodone are prescription opioid medications used to treat moderate to severe pain,…