pub fn build_signed_record( device_id: impl Into<String>, sequence: u64, timestamp_ms: u64, payload: &[u8], prev_record_hash: Hash32, object_ref: impl Into<String>, signing_key: &SigningKey, ) -> AuditRecord