The EJ25D cams will do fine the lift and timing is not all that different:
MY97/98 EJ20K STI Version IV
Intake opens 10 deg BTDC
Intake closes 56 deg ABDC
Intake duration 246 deg
Intake lift 8.2 mm
Exhaust opens 56 deg BBDC
Exhaust closes 12 deg ATDC
Exhaust duration 248 deg
Exhaust lift 8.3 mm
MY97/98 USDM/JDM/EUDM EJ25D
Intake opens 6 deg BTDC
Intake closes 50 deg ABDC
Intake duration 236 deg
Intake lift 8.0 mm
Exhaust opens 54/30 deg BBDC (two different lobes)
Exhaust closes 10/10 deg ATDC
Exhaust duration 244/220 deg
Exhaust lift 8.2/7.1 mm
MY97/98 EJ20G
Intake opens 8 deg BTDC
Intake closes 52 deg ABDC
Intake duration 240 deg
Intake lift 8.1 mm
Exhaust opens 52 deg BBDC
Exhaust closes 8 deg ATDC
Exhaust duration 240 deg
Exhaust lift 8.1 mm