pub fn extract_prefix_from_slug(slug: &str) -> &str