pub fn find_metadata_start(bytecode: &[u8]) -> Option<usize>
Utility function to find the start of the metadata in the bytecode. This assumes that the metadata is at the end of the bytecode.