On the thermodynamic analysis of martensite stabilization treatments. (November 2020)