People who run or work in tattoo and body piercing studios will have to apply for new licences in the coming months, following a change in Welsh law.