This script is a modified version of the restart_sensors.py and made specifically for this error message.
CB-31080 is in progress to check sensor side
Additional Information
License is enforced on the server side. This specific message does not affect the sensors sending up data with a score of -25. Other healthchecks along with it will have a higher score, at that time more investigation would be needed.
The health score does not update after getting a successful validity check, restarting sensor services clears the healtcheck