Deduplicate legacy account name prefixes