Such as is preferable in formal prose, because it avoids the ambiguity that might be present with like. In your first sentence, a reader might briefly think that like was a verb. ‘The Cambridge Guide to English Usage’ puts it this way:
The argument for such as was that it prevented the ambiguity that
might sometimes beset like (though the case seems to have been
exaggerated). Yet this concern probably explains why such as is
more than a thousand times commoner in academic writing than in
speech. Such as is also found in fiction and news writing, but
much less often. These facts of usage make such as more formal and
academic in style, whereas like is straightforward and direct.
I’m not familiar, by the way, with this use of metro.