You're welcome HobbyDev.
The only difference I can spot (that is why is called your posted example incomplete) is that I explicitly and literally use the name of the tag. That is the part that we are unable to see from your example code. You might perhaps added the name of the tag in the strings as well as their value but it is impossible to tell from the example.
Note that ffpmpeg is (or can be in my experience) very finicky when supplying tags as parameters. F.e. when you quote the whole meta-tag option, e.g. '"creation_time=' + creationTimeStr + '"') it will add the tag as a custom tag. At least, that is what VLC is telling me.
I admit to not know the details about the mkv container format and its support tags so have to rely on what ffmpeg is documenting. Ofc any program can do as it wishes

At least you got it solved. thx for reporting back 👍