TM is a trademark, that is, trademark A is a trademark during the period from receiving the acceptance notice to obtaining the registration certificate, but it does not mean that it is a registered trademark. A trademark is approved for registration. After obtaining the registration certificate, you can put an R mark next to it.
If YY appears in the novel, nine times out of ten it means obscenity. Now people often use the first letter of the pinyin of these two words, YY, to represent this vocabulary.