Using normalmap blue channel for greyscale mask issue

Hey guys, just wanted to say thank you for the answers and that I got it working. There are some compression artifacts like you said but it might be manageable since my object is pretty gritty and grimy.