Principle And Applications Of Quantum Metrology In Diamond Anvil Cells Using The Nitrogen Vacancy Color Center