High-order harmonic spectroscopy in an ionized high-density target