That’s a lot of vices. I suppose “vice” means “to replace”, but it’s not in my dictionary that way.
So, looks like “VICE” used in this manner (a preposition) means “in the place of”.
Dictionary.com Unabridged (v 1.1) - Cite This Source
preposition
instead of; in the place of.
[Origin: 176070; < L: instead of, abl. of vicis (gen.; not attested in nom.) interchange, alternation]