I recommend reading the dutch debate : https://www.tweedekamer.nl/kamerstukken/plenaire_verslagen/detail/2025-2026/17
And yes, the latter is currently a thing (but in a weaker form) but will no longer be allowed in april 2026, which is why this law is getting pushed so hard. Currently chats can be asked by police/interpol/... But they need good reasons, and the results can be varying because chat platforms like signal do not keep chat messages/stuff.
The new law forces them to have systems in place to catch or have data for law inforcements. It just allows for 'any system to get the needed info', it no longer says chat scanning is needed directly, but is rather indirectly which is as stupid and bad as before.