My guess is the front subframe might be different, especially considering you're AWD.
I'd first inspect your stock pan and make sure there's sufficient clearance for a larger-capacity pan. Definitely a smart move if it'll work!
Looking at the parts catalogs, they appear VERY similar, if not identical:
M35x oil pan:
350Z oil pan:
