Local SL(2, R) invariance applied to the master-field problem