AFAICT this is the actual bill: https://data.oireachtas.ie/ie/oireachtas/bill/2025/11/eng/in...
Your selective quoting is extremely misleading. The first section about publishing a name/photograph only applies in the context of "for purposes of advertising products, events, political activities, merchandise, goods, or services or for purposes of fundraising, solicitation of donations, purchases of products, merchandise, goods, or services or to influence elections or referenda." i.e. it's illegal to pretend someone is endorsing something they are not.
But the second paragraph doesn't have any of those specifics. It's just any algorithm (an actual ban on forbidden math), software, tool, technology, service, or device.
Sorry, the example I had in mind was a politician and I don't know why I forgot to add that to the comment, else I'd edit it in.
The point is that "to influence elections or referenda" is incredibly vague! Almost any reporting on a person involved in the election, or even related to it (reporting on someone who's group looking bad helps a party) can be construed as "influencing an election"