Hello Matt,
I think, it should be the following:
import Metashape
chunk = Metashape.app.document.chunk
string = Metashape.app.getString("Input prefix to be added to the selected camera labels:")
for camera in chunk.cameras:
if camera.selected:
camera.label = "_".join([string,camera.label])
print("Script finished")