Batch meta key ensure function.