Disc brake pads have a metal gauge that will squeal when the friction material wears down to that point...also known as 'brake squealers'. They are to warn you to have the pads replaced (only in pairs for left & right) before the pad backing plate starts to hit the brake disc, which can be way more expensive in both parts and labor.
Or, something else...like a serpentine belt idler bearing going bad, but not likely on a 2018...unless you have tons of miles on it.
Also, think the mechanic you took it to is worthless if they can't ID a brake pad wear squealer.
-Ben
Picture of my rig1996 GMC SLT Suburban 3/4 ton K3500/7.4L/4:1/+150Kmiles orig owner...
1980 Chevy Silverado C10/long bed/"BUILT" 5.7L/3:73/1 ton helper springs/+329Kmiles, bought it from dad...
1998 Mazda B2500 (1/2 ton) pickup, 2nd owner...
Praise Dyno Brake equiped and all have "nose bleed" braking!
Previous trucks/offroaders: 40's Jeep restored in mid 60's / 69 DuneBuggy (approx +1K lb: VW pan/200hpCorvair: eng, cam, dual carb'w velocity stacks'n 18" runners, 4spd transaxle) made myself from ground up / 1970 Toyota FJ40 / 1973 K5 Blazer (2dr Tahoe, 1 ton axles front/rear, +255K miles when sold it)...
Sold the boat (looking for another): Trophy with twin 150's...
51 cylinders in household, what's yours?...