[mms] Don't store/retrieve message history data if the Message-ID is missing/invalid.