New Formulation of the First Law of Black Hole Thermodynamics: A Stringy Analogy