I assume you're using something like worldedit (I've never used multi block replacenear command before so not sure)
Anyway, In 1.12 'andesite' was a 'variant' of the stone block with a data value of 5 (the give command would've been something like "/give @p minecraft:stone 1 5") while in 1.13 it is now classed as a separate block & is called 'andersite' (command would be '/give @p minecraft:andesite 1')
For stone bricks
in 1.12 it was called 'stonebrick', in 1.13 it's now called 'stone_bricks'
I'm not sure how Worldedit does 'data values' in the replace command - but at a guess maybe your command for 1.12 could be something like:-
"//replacenear 20 stone 20%cobblestone,20%stone:5,20%stonebrick"