Acces a variable in the library

change the declaration to:

char kFirebaseFingerprint[60] =
"6E:F3:55:47:6D:F1:0E:5B:2B:04:F2:F8:C0:8B:E8:05:65:0F:1A:C1"; // 2021-09 

Then, in your sketch, put:
extern char kFirebaseFingerprint[60];

Then you can write a different 59 character string into that buffer whenever you want. I assume you will need to do that before:
Firebase.begin(FIREBASE_HOST, FIREBASE_AUTH);