Title: “ Quantum sensing using nitrogen-vacancy centers in diamond: detrimental effect of charge state dynamics on spin-based sensing ”