For some of that one of the premier suppliers I used to deal with was Hohmann-Barnard, (link attached).
There are some options, you may be able to install a reglet and flash from the masonry to the roofing material.
One of the best sealants or was, there is the ole standby tried and tested Dow Corning 790 series silicon sealants. You have to select the one that matches the substrates, (materials) that you want to bond 2, gets more complicated with 2 types in one joint, but metal to masonry, and so on, these do perform for years and they always were good on warranty work, we had them come in on large jobs, visit mock up labs where we tested their products etc. good quality and good service.