Fix bug in updateSystemMetadataFields() where guid is set from the wrong parameter in the prepared SQL statement.
Fix bug in updateSystemMetadataFields() where guid is set from the wrong parameter in the prepared SQL statement.