pub fn encode_record( date: Option<DateTime<Utc>>, new_rights: &ACLRecordSet, version_of_index_format: u8, ) -> String