Why do you keep mentioning heroin and morphine together? How are they related?
The chemistry relating these two compounds is diagrammed below.

(from Peter-John Holt et al., Bioluminescent Assay for Heroin and Its Metabolites, Anal. Chem. 1996, 68, 1878.)
This schematic shows that heroin can be hydrolyzed into morphine by using the enzyme ‘Heroin Esterase,' which is acetylmorphine carboxyesterase, prepared from a Rhodococcus sp. H1. Morphine can then be oxidized into morphinone using a ‘morphine dehydrogenase,' which is a highly specific NADP+-dependent morphine dehydrogenase, purified and characterized from Pseudomonas putida M10.