The Chemical Structure of Young High-mass Star-forming Clumps. II. Parsec-scale CO Depletion and Deuterium Fraction of HCO$^+$