Now you've done it!!
You have succesfully opened the proverbial can o worms.
I think the white mud needs to go as a start.
Basically you want a solid floor.If the brick is secured to the slab,you are fine.If it is loose it needs to go.
If it solid you need to redo a mudbed over it by using slc,or a drypack and thinset to adhere it to the brick,to bring it up to where the tile is even as you know.
If it is loose and you take it out and it is concrete use the advice above.
If it comes out and is plywood you should use a felt paper,wire lathe,then drypack.Orr slc,and whatever primer,or prep they recommend.
Or use plywood to bring it up high enough that cbu will give you the desired height before tiling.