Yours is a 2001 so will be the last of the v5/6's it may even share some parts with newage bug eyes being an ej205, as all the foz's I've come across haven't been as simple as just looking at the same impreza, yours may have a td04 I'm not sure, best off having a look at the turbo, if you look down at the hot side, 'facing you as look at the car' it will have a model number stamped on it
Scooby ghost can tell you what a minefield it is as his ej205 engine needed different gasket seals to what was recomend when he called the dealer.
Again I've had loads of problems getting parts,my maf is listed as a legacy part, the airbox to turbo inlet hose is a v5/6 measurement even though the engine is based upon the v3/4 impreza so if in any doubt measure twice take pics and
Ask loads of questions ☺