pK(a) values for side-chain carboxyl groups of a PGB1 variant explain salt and pH-dependent stability.