ISPN-4359 Provide an annotation driven way of declaring protobuf metadata
Test that replaying a prepare command doesn't acquire the lock twice