The noteId of history object returned from history API might be malformed. We need to provide at least one utility function to parse note id.