Complete the method definition given below.
For research purposes, a team of doctors are looking to find the list of diseases that are prevalent in the cities that are affected with COVID-19.
locations
is an array of hashes, each of which contains keys "id", "name" and "diseases". "diseases" is an array of strings which are the diseases affecting the location.
Given locations
, the method should return a unique list of disease names that are prevalent in cities that are affected with COVID-19. The result should not contain "COVID-19".