TMART-151: Added calls to substr function for databaseName parameter to cz_write_audit function/procedure so that values greater than 50 characters in length are truncated.