If your base frame is already assembled a biscuit jointer,if you have one, can cut the slot where you require it for z type table top fastners.
Fastners are usually zinc plated,you could use an additional zinc rich paint and once dry an additional coat of something like CRC Soft Seal.
Aluminum angle cleats with oversized holes for the top fixing with a stainless screw on a washer to allow movement?