so you want a mask shape to follow a null object which is receiving tracking data, don’t you? if you just want to move the mask it can be done without expressions.
put the mask into a solid and parent that solid to the null with the tracking data. use the solid as an alpha matte over the layer and that’s it. but only if you just want to move the mask…